<%- is_plugin_missing = scope[:tvm].instance_of? com.thoughtworks.go.presentation.MissingPluggableTaskViewModel %>
<td>
    <%- if (is_plugin_missing) %>
        <%= label_tag "", scope[:tvm].getTypeForDisplay(), :title => com.thoughtworks.go.i18n.LocalizedMessage::resourceNotFound("Plugin", scope[:tvm].getTypeForDisplay()), :class => "missing_plugin_link instant-tooltip" -%>
    <%- else %>
        <%= link_to(scope[:tvm].getTypeForDisplay(), '#', :onclick => modify_onclick_callback) -%>
    <%- end %>
</td>
<td class="run_ifs"><%= scope[:task_config].getConditionsForDisplay() %></td>
<td class="properties">
    <%- scope[:props] = scope[:task_config].getPropertiesForDisplay() -%>
    <ul>
        <% scope[:props].each do |task_property_in_properties_list| %>
            <li class="task_property <%= task_property_in_properties_list.getCssClass() %>">
                <span class="name"><%= h(task_property_in_properties_list.getName() + ':') -%></span>
                <span class="value"><%= h(task_property_in_properties_list.getValue()) -%></span>
            </li>
        <% end %>
    </ul>
</td>
<td class="has_on_cancel">
    <%- is_plugin_missing = scope[:tvm_of_cancel_task].instance_of? com.thoughtworks.go.presentation.MissingPluggableTaskViewModel %>
    <%- if (scope[:task_config].hasCancelTask()) %>
        <%- if (is_plugin_missing) %>
            <%= label_tag "", scope[:tvm_of_cancel_task].getTypeForDisplay(), :title => com.thoughtworks.go.i18n.LocalizedMessage::resourceNotFound("Plugin", scope[:tvm_of_cancel_task].getTypeForDisplay()), :class => "missing_plugin_link instant-tooltip" -%>
        <%- else %>
            <%= scope[:tvm_of_cancel_task].getTypeForDisplay() %>
        <%- end %>
    <%- else %>
        No
    <%- end %>
</td>
